/**
 * created on 2019/05/20 by wxb
 */
(function () {
  'use strict';

  angular.module('BlurAdmin.pages.staffManage.companyList')
      .controller('SetCompanyModalCtrl', SetCompanyModalCtrl);

  /** @ngInject */
  function SetCompanyModalCtrl($scope, $uibModalInstance, item) {
    $scope.formData = item || {};

    $scope.validate = function () {
      console.log('validate', $scope.formData);

      $scope.validateFlag = true;
    };

    $scope.ok = function () {
      console.log('ok', $scope.formData);
      $uibModalInstance.close($scope.formData);
    };

    $scope.cancel = function () {
      $uibModalInstance.dismiss('cancel');
    };









  }
})();
